package com.leinao.constant;

/**
 *
 * @Description 文件中心创建数据集
 * @author:    weiwei
 * @Date:  2019/5/18 14:46
 * @Version 1.0
 */
public enum DataSetErrorEnum {

    GET_DATASET_ERROR(20001, "获取数据集失败"),

    DATASET_PROJECT_ID_IS_EMTPY_ERROR(20002, "项目Id不能为空"),

    DATASET_JOB_NAME_IS_EMTPY_ERROR(20003, "任务名称不能为空"),

    DATASET_DIR_IS_EMPTY(20004, "文件目录不能为空"),

    COPY_OUTPUT_FAIL_ERROR(20005, "复制output目录失败"),

    MAKE_OUTPUT_DIR_FAIL_ERROR(20006, "创建output目录失败");


    private Integer seq;

    private String desc;

    DataSetErrorEnum(Integer seq, String desc) {
        this.seq = seq;
        this.desc = desc;
    }

    public int getSeq() {
        return seq;
    }

    public String getDesc() {
        return desc;
    }
}